FROM python:3.8
WORKDIR /Project/covid19-usa

COPY requirements.txt ./
RUN pip install -i https://pypi.doubanio.com/simple -r requirements.txt --trusted-host pypi.doubanio.com

COPY . .

CMD ["gunicorn", "start:app", "-c", "./gunicorn.conf.py"]